package spring.utils;

import spring.context.ApplicationContext;

public class ClassLoaderUtil {

    /**
     * 全局类加载器
     * @return ApplicationContext的类加载器
     */
    public static ClassLoader getClassLoader(){
        return ApplicationContext.class.getClassLoader();
    }
    public static Class getContextClass() { return ApplicationContext.class;}
}
